package com.assetmanage.service;

import com.assetmanage.model.Department;
import java.util.List;

public interface DepartmentService {
    // 获取所有部门
    List<Department> getAllDepartments();
    
    // 根据ID获取部门
    Department getDepartmentById(String depId);
    
    // 添加部门
    boolean addDepartment(Department department);
    
    // 更新部门
    boolean updateDepartment(Department department);
    
    // 删除部门
    boolean deleteDepartment(String depId);
} 